package com.desire;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
//开启Hystrix熔断器
@EnableHystrix
//开启HystrixDashboard 仪表盘
@EnableHystrixDashboard
public class ErpPlanApplication {

	public static void main(String[] args) {
		SpringApplication.run(ErpPlanApplication.class, args);
	}

}
